package com.syx.entity;

public class Pro {
    private Integer pid;
    private String pname;
    private String price;
    private String pic;

    public Pro() {
    }

    public Pro(Integer pid, String pname, String price, String pic) {
        this.pid = pid;
        this.pname = pname;
        this.price = price;
        this.pic = pic;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    @Override
    public String toString() {
        return "Pro{" +
                "pid=" + pid +
                ", pname='" + pname + '\'' +
                ", price='" + price + '\'' +
                ", pic='" + pic + '\'' +
                '}';
    }
}
